package com.ikas.autumn.iec104.common.enums;

/**
 * json返回对象类型
 * @author HXH
 */
public class JsonResultConstants {

    // 请求成功
    public static final Integer OK = 200;

    // 重定向
    public static final Integer REDIRECTREQUEST = 301;

    // 路径请求错误
    public static final Integer BADREQUEST = 400;

    // 无权限访问
    public static final Integer UNAUTHORIZED = 401;

    // 路径请求错误
    public static final Integer NOTFOUND  = 404;

    // 请求超时
    public static final Integer REQUESTTIMEOUT = 408;

    // 系统错误
    public static final Integer INTERNALSERVERERROR = 500;

    // 错误
    public static final Integer ERROR = 1000;

    // 参数校验错误
    public static final Integer INVALIDPARAM = 1001;

    // 处理超时
    public static final Integer TIMEOUT = 1002;

    // SESSION过期
    public static final Integer SESSIONTIMEOUT = 1003;

    // 访问失败
    public static final Integer ACCESSFAILURE = 1004;

    // 没有登录
    public static final Integer NOLOGIN = 1005;

    // 锁定
    public static final Integer LOCK = 1006;

    //任务终止
    public static final Integer TERMINATED = 1007;

    private int value;

}
